﻿using ShanNiang.Hosting.Common;
using ShanNiang.Hosting.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.LoginModels.Requests
{
    public class WxLoginRequest : RequestBase
    {
        public WxLoginRequest(string code, string state)
        {
            Code = code;
            State = state;
        }
        public string Code { get; set; }
        public string State { get; set; }
        public override ApiServer ApiServer => ApiServer.IdsServer;

        public override HttpMethod Method => HttpMethod.Get;

        public override bool NeedToken => false;

        protected override string RequestPath => "/api/AppGrant/WxLogin";
    }
}
